-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New service for adding systems to an entity #1524
Conversation
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
…ign-gazebo into server-config-root-dom
…bo into use_sdf_plugin
Signed-off-by: Nate Koenig <[email protected]>
…bo into use_sdf_plugin
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a first pass, the functionality works for me. Tested manually like this, for some fun results:
ign gazebo shapes.sdf -v 4 -r &
ign service -s /world/shapes/entity/system/add --reqtype ignition.msgs.EntityPlugin_V --reptype ignition.msgs.Boolean --timeout 3000 --req 'entity: {id: 1}, plugins: {name: "ignition::gazebo::systems::Buoyancy", filename: "ignition-gazebo-buoyancy-system"}'
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
f3f340b
to
1e22d2c
Compare
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
a05f06b
to
4695b88
Compare
Signed-off-by: Ian Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's just wait for #1352 to be merged first.
We also need an ign-msgs8
release with gazebosim/gz-msgs#261, I started a forward-port so we get more into the release: gazebosim/gz-msgs#264
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo6 #1524 +/- ##
============================================
Coverage 63.96% 63.96%
============================================
Files 317 317
Lines 25584 25613 +29
============================================
+ Hits 16364 16383 +19
- Misses 9220 9230 +10
Continue to review full report at Codecov.
|
🎉 New feature
Summary
Adds a service for adding systems / plugins to an entity at run time. The service accepts the new
EntityPlugin_V.proto
msg introduced in gazebosim/gz-msgs#261 that contains the entity id and an array of plugins / systems to add to the entity.Test it
Run the
INTEGRATION_entity_system
test. It adds thediff_drive
plugin to a vehicle model and verifies that it starts moving after the plugin is added.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.